﻿<%@ Page Title="" Language="C#" MasterPageFile="~/System/System.master" AutoEventWireup="true" CodeFile="SiteMap.aspx.cs" Inherits="System_Pages_Navigation_SiteMap" %>
<%@ Register Src="~/System/Controls/FieldTemplates/SinglelineText.ascx" TagName="SinglelineText" TagPrefix="ucc" %>
<%@ Register Src="~/System/Controls/FieldTemplates/MultilineText.ascx" TagName="MultilineText" TagPrefix="ucc" %>
<%@ Register Src="~/System/Controls/FieldTemplates/HyperLink.ascx" TagName="HyperLink" TagPrefix="ucc" %>
<%@ Register Src="~/System/Controls/FieldTemplates/Boolean.ascx" TagName="Boolean" TagPrefix="ucc" %>
<%@ Register Src="~/System/Controls/FieldTemplates/MessageText.ascx" TagName="MessageText" TagPrefix="ucc" %>
<%@ Register Src="~/System/Controls/FieldTemplates/FilteredText.ascx" TagName="FilteredText" TagPrefix="ucc" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="SiteFox_Left" Runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="SiteFox_Title" Runat="Server">
    <asp:Label ID="lab_Title" runat="server" Text="<%$ Resources:dcCommon, dc_SiteMap %>" CssClass="content-header-title" />
    <asp:UpdatePanel ID="up_ActionButtons" runat="server" class="content-header-actions">
        <ContentTemplate>
            <asp:ImageButton ID="imb_SiteMapNode_AddRoot" runat="server" ImageUrl="~/System/Design/ico/24x24/node_add.png" ToolTip="<%$ Resources:dcCommon, dc_NewRoot %>" onclick="imb_SiteMapNode_AddRoot_Click" />
            <div class="separator"></div>
            <asp:ImageButton ID="imb_SiteMapNode_Add" runat="server" ImageUrl="~/System/Design/ico/24x24/add2.png" ToolTip="<%$ Resources:dcCommon, dc_New %>" onclick="imb_SiteMapNode_Add_Click" Visible="false" />
            <asp:ImageButton ID="imb_SiteMapNode_Edit" runat="server" ImageUrl="~/System/Design/ico/24x24/pencil.png" ToolTip="<%$ Resources:dcCommon, dc_Edit %>" onclick="imb_SiteMapNode_Edit_Click" Visible="false" />
            <asp:ImageButton ID="imb_SiteMapNode_Delete" runat="server" ImageUrl="~/System/Design/ico/24x24/delete2.png" ToolTip="<%$ Resources:dcCommon, dc_Delete %>" onclick="imb_SiteMapNode_Delete_Click" Visible="false" />
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="SiteFox_Main" Runat="Server">
    <asp:UpdatePanel ID="up_Main" runat="server">
        <ContentTemplate>
            <div class="FieldTemplates_Row">
                <asp:TreeView ID="tv_SiteMap" runat='server' ShowLines="True" onselectednodechanged="tv_SiteMap_SelectedNodeChanged" CssClass="SiteMap">
                    <SelectedNodeStyle CssClass="SelectedNodeStyle" />
                    <HoverNodeStyle CssClass="HoverNodeStyle" />
                    <NodeStyle CssClass="NodeStyle" />
                </asp:TreeView>
            </div>
            <asp:Panel ID="pan_Background" runat="server" CssClass="background" Visible="false"></asp:Panel>
            <asp:Panel ID="pan_SiteMapNode_AddOrEdit" runat="server" CssClass="actionpanel" Visible="false">
                <div class="actionpanel-header">
                    <asp:Label ID="lab_SiteMapNode_AddOrEdit_Title" runat="server" />
                    <asp:LinkButton ID="lib_SiteMapNode_AddOrEdit_Close" runat="server" CssClass="actionpanel-header-close" onclick="lib_SiteMapNode_AddOrEdit_Close_Click" />
                </div>
                <div class="actionpanel-content">
                    <ucc:SinglelineText ID="ucc_SiteMapNode_AddOrEdit_Text" runat="server" IsReq="true" Title="<%$ Resources:dcCommon, dc_Text %>" ValueMaxLength="50" />
                    <ucc:HyperLink ID="ucc_SiteMapNode_AddOrEdit_Link" runat="server" IsReq="true" Title="<%$ Resources:dcCommon, dc_Link %>" RootPath="~/Web" ShowFiles="true" />
                    <div class="FieldTemplates_Row">
                        <asp:Label ID="lab_SiteMapNode_AddOrEdit_Target_Title" runat="server" CssClass="Label" Text="<%$ Resources:dcCommon, dc_Target %>"></asp:Label>
                        <asp:DropDownList ID="ddl_SiteMapNode_AddOrEdit_Target_Value" runat="server" CssClass="DropDownList">
                            <asp:ListItem Text="<%$ Resources:dcCommon, dc_OpenInSameWindow %>" Value="_self" />
                            <asp:ListItem Text="<%$ Resources:dcCommon, dc_OpenInNewWindow %>" Value="_blank" />
                        </asp:DropDownList>
                    </div>
                    <ucc:MultilineText ID="ucc_SiteMapNode_AddOrEdit_ToolTip" runat="server" IsReq="false" Title="<%$ Resources:dcCommon, dc_ToolTip %>" ValueMaxLength="255" />
                    <ucc:FilteredText ID="ucc_SiteMapNode_AddOrEdit_Ordering" runat="server" FilterType="Numbers" IsReq="false" Title="<%$ Resources:dcCommon, dc_Ordering %>" />
                    <ucc:HyperLink ID="ucc_SiteMapNode_AddOrEdit_ImagePath" runat="server" IsReq="false" Title="<%$ Resources:dcCommon, dc_ImagePath %>" RootPath="~/Web" ShowFiles="true" />
                    <asp:LinkButton ID="lib_SiteMapNode_AddOrEdit_Ok" runat="server" CssClass="LinkButton" ValidationGroup="mainValGroup" onclick="lib_SiteMapNode_AddOrEdit_Ok_Click" />
                </div>
            </asp:Panel>
            <asp:Panel ID="pan_SiteMapNode_Delete" runat="server" CssClass="actionpanel" Visible="false">
                <div class="actionpanel-header">
                    <asp:Label ID="lab_SiteMapNode_Delete_Title" runat="server" Text="<%$ Resources:dcCommon, dc_Delete %>" />
                    <asp:LinkButton ID="lib_SiteMapNode_Delete_Close" runat="server" CssClass="actionpanel-header-close" onclick="lib_SiteMapNode_Delete_Close_Click" />
                </div>
                <div class="actionpanel-content">
                    <ucc:MessageText ID="ucc_SiteMapNode_Delete_Text" runat="server" Title="" Value="<%$ Resources:dcCommon, dc_ConfirmDeleting %>" />
                    <asp:LinkButton ID="lib_SiteMapNode_Delete_Ok" runat="server" CssClass="LinkButton" Text="<%$ Resources:dcCommon, dc_Confirm %>" ValidationGroup="mainValGroup" 
                        onclick="lib_SiteMapNode_Delete_Ok_Click" />
                </div>
            </asp:Panel>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>

